package cn.joybreeze.model;

import com.baomidou.mybatisplus.annotation.TableName;
import cn.joybreeze.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author kjwaa
 * @since 2021-09-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_question")
@ApiModel(value="QuestionDO对象", description="")
public class QuestionDO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "问题题目")
    private String questionTitle;

    @ApiModelProperty(value = "问题类型 1 单选、2 多选、3 单行、4 多行")
    private Integer type;

    @ApiModelProperty(value = "是否必填")
    private Integer required;

    @ApiModelProperty(value = "问卷id，标识这个问题是哪个问卷的")
    private Integer questionnaireId;


}
